
all: ../data.h

unifont_jp.hex.gz:
	wget https://www.unifoundry.com/pub/unifont/unifont-15.1.05/font-builds/unifont_jp-15.1.05.hex.gz -O unifont_jp.hex.gz

unrpyc.zip:
	wget https://github.com/CensoredUsername/unrpyc/archive/refs/heads/dev.zip -O unrpyc.zip

../data.h: unifont_jp.hex.gz logo.png icon.png texts.csv unrpyc.zip
	@gcc bin2c.c -o bin2c -lz
	@./bin2c
	@rm bin2c
